d5a130
@@ -48,13 +48,13 @@
public final class Client {
 
 
         /**
-         * HTTP GET http://localhost:8181/cxf/crm/customerservice/customers/123
+         * HTTP GET http://localhost:8181/cxf/securecrm/customerservice/customers/123
          * returns the XML document representing customer 123
          *
          * On the server side, it matches the CustomerService's getCustomer() method
          */
         System.out.println("Sent HTTP GET request to query customer info with basic authentication info.");
-        GetMethod get = new GetMethod("http://localhost:8181/cxf/crm/customerservice/customers/123");
+        GetMethod get = new GetMethod("http://localhost:8181/cxf/securecrm/customerservice/customers/123");
         get.getHostAuthState().setAuthScheme(scheme);
         try {
             httpClient.executeMethod(get);
@@ -64,12 +64,12 @@
public final class Client {
         }
 
         /**
-         * HTTP GET http://localhost:8181/cxf/crm/customerservice/customers/123
+         * HTTP GET http://localhost:8181/cxf/securecrm/customerservice/customers/123
          * without passing along authentication credentials - this will result in a security exception in the response.
          */
         System.out.println("\n");
         System.out.println("Sent HTTP GET request to query customer info without basic authentication info.");
-        get = new GetMethod("http://localhost:8181/cxf/crm/customerservice/customers/123");
+        get = new GetMethod("http://localhost:8181/cxf/securecrm/customerservice/customers/123");
         try {
             httpClient.executeMethod(get);
             // we should get the security exception here
@@ -79,14 +79,14 @@
public final class Client {
         }
 
         /**
-         * HTTP GET http://localhost:8181/cxf/crm/customerservice/orders/223/products/323
+         * HTTP GET http://localhost:8181/cxf/securecrm/customerservice/orders/223/products/323
          * returns the XML document representing product 323 in order 223
          *
          * On the server side, it matches the Order's getProduct() method
          */
         System.out.println("\n");
         System.out.println("Sent HTTP GET request to query sub resource product info");
-        get = new GetMethod("http://localhost:8181/cxf/crm/customerservice/orders/223/products/323");
+        get = new GetMethod("http://localhost:8181/cxf/securecrm/customerservice/orders/223/products/323");
         get.getHostAuthState().setAuthScheme(scheme);
         try {
             httpClient.executeMethod(get);
@@ -96,7 +96,7 @@
public final class Client {
         }
 
         /**
-         * HTTP PUT http://localhost:8181/cxf/crm/customerservice/customers is used to upload the contents of
+         * HTTP PUT http://localhost:8181/cxf/securecrm/customerservice/customers is used to upload the contents of
          * the update_customer.xml file to update the customer information for customer 123.
          *
          * On the server side, it matches the CustomerService's updateCustomer() method
@@ -106,7 +106,7 @@
public final class Client {
         
         String inputFile = Client.class.getResource("update_customer.xml").getFile();
         File input = new File(inputFile);
-        PutMethod put = new PutMethod("http://localhost:8181/cxf/crm/customerservice/customers");
+        PutMethod put = new PutMethod("http://localhost:8181/cxf/securecrm/customerservice/customers");
         put.getHostAuthState().setAuthScheme(scheme);
         RequestEntity entity = new FileRequestEntity(input, "text/xml; charset=ISO-8859-1");
         put.setRequestEntity(entity);
@@ -124,7 +124,7 @@
public final class Client {
         }
 
         /**
-         * HTTP POST http://localhost:8181/cxf/crm/customerservice/customers is used to upload the contents of
+         * HTTP POST http://localhost:8181/cxf/securecrm/customerservice/customers is used to upload the contents of
          * the add_customer.xml file to add a new customer to the system.
          *
          * On the server side, it matches the CustomerService's addCustomer() method
@@ -133,7 +133,7 @@
public final class Client {
         System.out.println("Sent HTTP POST request to add customer");
         inputFile = Client.class.getResource("add_customer.xml").getFile();
         input = new File(inputFile);
-        PostMethod post = new PostMethod("http://localhost:8181/cxf/crm/customerservice/customers");
+        PostMethod post = new PostMethod("http://localhost:8181/cxf/securecrm/customerservice/customers");
         post.getHostAuthState().setAuthScheme(scheme);
         post.addRequestHeader("Accept" , "text/xml");
         entity = new FileRequestEntity(input, "text/xml; charset=ISO-8859-1");
